package com.zzh.service;
import com.zzh.controller.utils.R;
import com.zzh.ov.UserRegister;
import com.zzh.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpSession;

/**
 *
 */
public interface UserService extends IService<User> {
    //注册
    R addUser(UserRegister user);
    R Login(User user, HttpSession session);

    //查询邮箱是否被注册
//    int selectCountUserByEmail(String email);
    //登录
//    R login(UserLogin userLogin);
}
